#define _CRT_SECURE_NO_WARNINGS 1
#include"stack.h"
#include"queue.h"
#include<stack>

namespace zkz
{
	void test1()
	{
		stack<int> st;
		st.push(1);
		st.push(2);
		st.push(3);
		st.push(4);

		while (!st.empty())
		{
			cout << st.top() << " ";
			st.pop();
		}
		cout << endl;
	}
	void test2()
	{
		queue<int> q;

		q.push(1);
		q.push(2);
		q.push(3);
		q.push(4);
		q.push(5);

		while (!q.empty())
		{
			cout << q.front() << " ";
			q.pop();
		}
		cout << endl;
		cout << q.size();
	}
}

int main()
{
	/*zkz::test1();*/
	/*zkz::test2();*/
	/*stack<int> st;
	st.push();*/
	/*vector<int> v = { 1,2,3,4,5,6 };
	auto it = v.rbegin();
	cout << *it;*/
	return 0;
}